/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.goods.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

/**
 * 测试数据Entity
 * 
 * @author ThinkGem
 * @version 2018-04-22
 */
@Table(name = "zt_coupon", alias = "a", columns = {
		@Column(name = "id", attrName = "id", label = "编号", isPK = true),
		@Column(name = "code", attrName = "code", label = "权重"),
		@Column(name = "status", attrName = "status", label = "状态"),
		@Column(name = "coupontime", attrName = "coupontime", label = "外链"),
		@Column(name = "price", attrName = "price", label = "权重"),
		@Column(name = "isuse", attrName = "isuse", label = "类型"),
		@Column(name = "state", attrName = "state", label = "类型"),
	
		@Column(name = "create_date", attrName = "createDate", label = "创建时间"),

}, orderBy = "a.create_date DESC")
public class ZtCouponCode extends DataEntity<ZtCouponCode> {

	private static final long serialVersionUID = 1L;
	
	private String status;
	private String code;
	private Date coupontime;
	private Double price;
	private String isuse;
	private String state;


	@JsonIgnore
	private Date createDate;
	@JsonIgnore
	private String updateBy;
	@JsonIgnore
	private String createBy;
	@JsonIgnore
	private Date updateDate;
	
	
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Date getCoupontime() {
		return coupontime;
	}
	public void setCoupontime(Date coupontime) {
		this.coupontime = coupontime;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getIsuse() {
		return isuse;
	}
	public void setIsuse(String isuse) {
		this.isuse = isuse;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	@JsonIgnore
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

}